﻿@using NewsMVC.Models.Database
@{
    //取控制器传过来的分类数据 并且强制转换类型
    var New = ViewData["New"] as News;
}
<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <title>NewWebsite</title>
  <link rel="stylesheet" href="~/css/index.css">
</head>

<body>
  <!--导航栏-->
  <div class="content">
 
    <div id="main">
              <h1 class="detail-title">@New.NewsTitle</h1>
              <div class="post_info">
                <span>@New.Date</span>　来源: <span>@New.Source</span>
              </div>
              <div class="post_content">@New.Content</div>
    </div>
        
    @*<div class="footer">
      <p>
        <a href="javascript:void(0)">关于NewWebsite</a>
        |
        <a href="javascript:void(0)">诚聘英才</a>
        |
        <a href="javascript:void(0)">商务合作</a>
        |
        <a href="javascript:void(0)">法律声明</a>
        |
        <a href="javascript:void(0)">帮助中心</a>
        |
        <a href="javascript:void(0)">作者投稿</a>
        |
        <a href="javascript:void(0)">联系我们</a>
        |
        <a href="javascript:void(0)">友情链接</a>
      </p>
      <p>Copyright©www.newwebsite.com&nbsp;&nbsp;All&nbsp;&nbsp;Rights&nbsp;&nbsp;Reserved&nbsp;版权所有&nbsp;&nbsp;
        <a href="">京ICP备xxxxxxxx-2号</a>
      </p>
      <p>本站所收录新闻来源、社区话题、新闻评论均属其个人学习行为，不代表本站立场。</p>
    </div>*@
  </div>
  <script>

  </script>
</body>

</html>